/**
 * 
 */
package com.basic;

/**
 * StringEquals.java. 2011-11-28上午10:45:49 @author LionBule.
 */
public class StringEquals {

    public static void main(String[] args) {
        Object t1 = new String("lionbule");
        Object t2 = new String("lionbule");
        
        Object[] arrs = new Object[]{"lionbule", "lionbule"};
        
        System.out.println(t1.equals(t2));
        System.out.println(arrs[0].equals(arrs[1]));
        
    }

}
